const columns=[
    {
        label: "ID",
        field: "id",
        type: "number",
        isSort: true,
        orderBy: "desc",
        isId: true,
        isSearch: true,
        isEdit: false,
        searchSetting: {
        }
    },
    {
        label: "名称",
        field: "name",
        type: "text",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
    },
    {
        label: "编码",
        field: "code",
        type: "text",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
    },
    {
        label:"是否为系统级",
        field: "isSystem",
        type: "enum",
        width: "200px",
        isEdit: false,
        isSearch: true,
        isAdd: false,
        enumList: [
            {
                value: true,
                label: "是"
            },
            {
                value: false,
                label: "否"
            }
        ]
    },
    {
        label: "优先级",
        field: "priority",
        type: "number",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
    }

]

export default columns